<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
  //一系列学生对象
  //采用对象字面量的方式
  //重复代码的循环使用
  var stu1 = {
    name: "why",
    height:18,
    height:1.88,
    running:function() {
      console.log("running~")
    }
  }
  
  var  stu2 = {
    name:"kobe",
    age:30,
    height:1.98,
    running:function() {
      console.log("running~")
    }

  }
   var stu3 = {
     name:"james",
     age:25,
     height:2.05,
     running:function() {
       console.log("running~")
     }
   }
  
  </script>
</body>
</html>